package com.logreview;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Component
public class ApplicationProperties {

	@Value("${logger.path}")
	private  String loggerPath;

    @Value("${logger.pointer}")
	private long loggerPointer;

	@Value("${queue.size}")
	private int queueSize;

	@Value("${hds.gateway.ipaddress}")
	private String HdsGatewayIpAddress;

	@Value("${service.core.port}")
	private int Service4CorePort;

	@Value("${ofepLocalFilePath}")
	private String ofepLocalFilePath;

    @Value("${log.path}")
    private String logPath;


    public String getLogPath() {
        return logPath;
    }

    public void setLogPath(String logPath) {
        this.logPath = logPath;
    }

    public String getOfepLocalFilePath() {
        return ofepLocalFilePath;
    }

    public void setOfepLocalFilePath(String ofepLocalFilePath) {
        this.ofepLocalFilePath = ofepLocalFilePath;
    }

    public String getHdsGatewayIpAddress() {
        return HdsGatewayIpAddress;
    }

    public void setHdsGatewayIpAddress(String hdsGatewayIpAddress) {
        HdsGatewayIpAddress = hdsGatewayIpAddress;
    }

    public int getService4CorePort() {
        return Service4CorePort;
    }

    public void setService4CorePort(int service4CorePort) {
        Service4CorePort = service4CorePort;
    }

    public int getQueueSize() {
        return queueSize;
    }

    public void setQueueSize(int queueSize) {
        this.queueSize = queueSize;
    }

    public String getLoggerPath() {
        return loggerPath;

    }

    public void setLoggerPath(String loggerPath) {
        this.loggerPath = loggerPath;
    }

    public long getLoggerPointer() {
        return loggerPointer;
    }

    public void setLoggerPointer(long loggerPointer) {
        this.loggerPointer = loggerPointer;
    }
}
